package com.lry.crawlers.cartoon.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("cartoon")
public class Cartoon {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private String descs;
    private String cover;
    private String author;
    private String cartoonType;
    private String cartoonId;
    private String updateTime;
    private Date creationTime;
    private Integer cartoonVariableId;


    public Cartoon(String cartoonId, String updateTime){
        this.cartoonId = cartoonId;
        this.updateTime = updateTime;
    }

}
